package com.shuqi.model.bean;

/***
 * 书籍检查更新：有更新的书籍信息
 * 
 * @author yanghuawei
 */
public class CheckBookUpdateInfo {
    /**书籍更新类型：章节有更新*/
    public static final String UPDATETYPE_CHAPTER = "1";
    /**书籍更新类型：付费模式有更改*/
    public static final String UPDATETYPE_PAYMODE = "2";
    
    private String bookId;
    private String bookName;
    private String sourceId;
    private String maxOid;
    private String updateTime;
    /**更新类型：1章节有更新，2付费模式有更改*/
    private String updateType = UPDATETYPE_CHAPTER;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getMaxOid() {
        return maxOid;
    }

    public void setMaxOid(String maxOid) {
        this.maxOid = maxOid;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**更新类型：1章节有更新，2付费模式有更改*/
    public String getUpdateType() {
        return updateType;
    }

    /**更新类型：1章节有更新，2付费模式有更改*/
    public void setUpdateType(String updateType) {
        this.updateType = updateType;
    }

    @Override
    public String toString() {
        return "CheckBookUpdateInfo [bookId=" + bookId + ", bookName=" + bookName + ", sourceId="
                + sourceId + ", maxOid=" + maxOid + ", updateTime=" + updateTime + ", updateType="
                + updateType + "]";
    }

}
